package net.chathu.airgw.packets.gw.serverpackets 
{
	import net.chathu.airgw.Config;
	/**
	 * ...
	 * @author ze
	 */
	public class LUsersPacket implements ISendableIRCPacket 
	{
				
		private static const _head:String = " 251 ";
		private var _nick:String;
		private var _usernum:int;
		
		public function LUsersPacket(nick:String, usenum:int) 
		{
			_nick = nick;
			_usernum = usenum;
		}
		
		public function getMessage():String
		{
			return ":" + Config.IRC_HOST + _head + _nick + " :There are " + _usernum + " users on chat.hu server.\n";
		}
		
	}

}